package pl.zmudzinski.adapter.example1.turkey;

import com.google.inject.Inject;
import pl.zmudzinski.adapter.example1.duck.Duck;

/**
 * @author lukasz.zmudzinski
 */
public class TurkeyAdapter implements Turkey {
    private Duck duck;
    @Inject
    public TurkeyAdapter(Duck duck) {
        this.duck = duck;
    }

    public String giveSound() {
        return duck.kwack();
    }
}
